<?php
	//
	//This php will handle the 
	// UserFetch.java 
	// - fetchUserById function
	//
	
	//Connect to database
	include '../../dbc.php';
	
	$id = $_POST['id'];
	
	//Select non-blocked restaurant comment
    $query01 = "SELECT * FROM meal_like WHERE meal = '$id'";
	$query01_result = mysql_query($query01);
	$number = mysql_num_rows($query01_result);
		
	$response["STATUS"] = "1";
	$response["NUMBER"] = $number;
	echo json_encode($response);

?>